﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;

public partial class MasterPage : System.Web.UI.MasterPage
{
    private string MBLeft_Control = "~/Admin/Control/Left.ascx";
    private string MBFooter_Control = "~/Admin/Control/Footer.ascx";
    protected Entities en = new Entities();
    public string strDateTime = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        this.strDateTime = en.FullDateTimeVN(System.DateTime.Now);
        this.MBLeft.Controls.Add(LoadControl(MBLeft_Control));
        this.MBFooter.Controls.Add(LoadControl(MBFooter_Control));
    }
}
